package com.mrd.gtimp.business.entity;

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * 查货实体类
 *
 * @author lenovo
 *
 */
@Entity(name = "T_BIZ_CHECKINGGOODS")
public class CheckingGoods implements Serializable {

	private static final long serialVersionUID = -197867664003163987L;

	/**
	 * 检验ID
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name = "CHECKING_ID")
	private String checking_id;

	/**
	 * 经营单位编号
	 */
	@ManyToOne
	@JoinColumn(name = "COMPANY_CO")
	private CompanyQp companyQp;

	/**
	 * 航线:转关/直航
	 */
	private String route;

	/**
	 * 报关单号
	 */
	private String declaration_no;

	/**
	 * 柜数/尺码
	 */
	private String container_info;

	/**
	 * 柜号
	 */
	private String container_no;

	/**
	 * 堆位
	 */
	private String heap_position;

	/**
	 * 摄像头位
	 */
	private String camera_position;

	/**
	 * 查验关员
	 */
	private String check_official;

	/**
	 * 封条号码
	 */
	private String seal_no;

	/**
	 * 货物名称
	 */
	@ManyToOne
	@JoinColumn(name = "GOODS_NAME")
	private Commodity commodity;

	/**
	 * 规格/包装
	 */
	private String specifications;

	/**
	 * 查验项目
	 */
	private String check_items;

	/**
	 * 报关重量
	 */
	private String declaration_weight;

	/**
	 * 签收查验通知书
	 */
	private String receipt_check_notice;

	/**
	 * 完成情况
	 */
	private String status;

	/**
	 * 保存时间
	 */
	private Date save_time;

	public String getChecking_id() {
		return checking_id;
	}

	public void setChecking_id(String checking_id) {
		this.checking_id = checking_id;
	}

	public String getRoute() {
		return route;
	}

	public void setRoute(String route) {
		this.route = route;
	}

	public String getDeclaration_no() {
		return declaration_no;
	}

	public void setDeclaration_no(String declaration_no) {
		this.declaration_no = declaration_no;
	}

	public String getContainer_info() {
		return container_info;
	}

	public void setContainer_info(String container_info) {
		this.container_info = container_info;
	}

	public String getContainer_no() {
		return container_no;
	}

	public void setContainer_no(String container_no) {
		this.container_no = container_no;
	}

	public String getHeap_position() {
		return heap_position;
	}

	public void setHeap_position(String heap_position) {
		this.heap_position = heap_position;
	}

	public String getCamera_position() {
		return camera_position;
	}

	public void setCamera_position(String camera_position) {
		this.camera_position = camera_position;
	}

	public String getCheck_official() {
		return check_official;
	}

	public void setCheck_official(String check_official) {
		this.check_official = check_official;
	}

	public String getSeal_no() {
		return seal_no;
	}

	public void setSeal_no(String seal_no) {
		this.seal_no = seal_no;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public String getCheck_items() {
		return check_items;
	}

	public void setCheck_items(String check_items) {
		this.check_items = check_items;
	}

	public String getDeclaration_weight() {
		return declaration_weight;
	}

	public void setDeclaration_weight(String declaration_weight) {
		this.declaration_weight = declaration_weight;
	}

	public String getReceipt_check_notice() {
		return receipt_check_notice;
	}

	public void setReceipt_check_notice(String receipt_check_notice) {
		this.receipt_check_notice = receipt_check_notice;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getSave_time() {
		return save_time;
	}

	public void setSave_time(Date save_time) {
		this.save_time = save_time;
	}

	public CompanyQp getCompanyQp() {
		return companyQp;
	}

	public void setCompanyQp(CompanyQp companyQp) {
		this.companyQp = companyQp;
	}

	public Commodity getCommodity() {
		return commodity;
	}

	public void setCommodity(Commodity commodity) {
		this.commodity = commodity;
	}

}
